PaymentPlugins\WooCommerce\PPCP\Payments\Gateways\PayPalGateway A

Total Complexity 53
Dependencies 8
Dependents 3
Total lines 655
Lines of code 573
Logical lines of code 95
Comment lines 29
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
init_form_fields()
C
21
7 320
get_product_form_fields()
A
44 6 48
get_payment_method_data()
S
42 5 57
add_query_params()
S
61 4 13
get_checkout_script_handles()
S
61 4 12
get_payment_section_options()
S
57 3 16
validate_paypal_order()
S
59 3 14
is_show_popup_icon_enabled()
S
71 3 5
get_express_checkout_script_handles()
S
67 2 8
get_cart_script_handles()
S
67 2 8
get_minicart_script_handles()
S
67 2 8
get_product_script_handles()
S
67 2 8
get_order_button_text()
S
68 2 7
get_admin_script_dependencies()
S
59 1 14
is_place_order_button()
S
78 1 3
__construct()
S
65 1 8
validate_fields()
S
91 1 2
is_product_section_enabled()
S
65 1 9
init_hooks()
S
71 1 5
express_checkout_fields()
S
83 1 5
get_funding_types()
S
79 1 3